package com.zt.location.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zt.location.modules.base.dao.LimitspeedDao;
import com.zt.location.modules.base.entity.LimitspeedEntity;
import com.zt.location.modules.base.service.LimitspeedService;



@Service("limitspeedService")
public class LimitspeedServiceImpl implements LimitspeedService {
	@Autowired
	private LimitspeedDao limitspeedDao;
	
	@Override
	public LimitspeedEntity queryObject(Integer id){
		return limitspeedDao.queryObject(id);
	}
	
	@Override
	public List<LimitspeedEntity> queryList(Map<String, Object> map){
		return limitspeedDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return limitspeedDao.queryTotal(map);
	}
	
	@Override
	public void save(LimitspeedEntity limitspeed){
		limitspeedDao.save(limitspeed);
	}
	
	@Override
	public void update(LimitspeedEntity limitspeed){
		limitspeedDao.update(limitspeed);
	}
	
	@Override
	public void delete(Integer id){
		limitspeedDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		limitspeedDao.deleteBatch(ids);
	}
	
}
